package entity

import "time"

// TableName 重命名表名
func (Article) TableName() string {
	return "article"
}

type Article struct {
	Id            int
	ClassId       int
	ClickNumber   int
	FrontCoverImg string
	Title         string
	ShortContent  string
	Content       string
	Status        int
	CreateTime    time.Time `gorm:"autoCreateTime"`
	UpdateTime    time.Time `gorm:"autoUpdateTime"`
}
